import {get} from '../get'
import {request} from '../request'

export const getUsers = (pageNum, pageSize) => {
  return get.get(`/user/${pageNum}/${pageSize}`)
}

export const deleteUsers = (id) => {
  return request.delete(`/user/${id}`)
}

export const getRole = () => {
  return get.get('/user/role')
}
